package com.vjmobi.test.vo.page;

public class PageReq<T> extends PageInfo {
	private T param;
	public T getParam() {
		return param;
	}
	public void setParam(T param) {
		this.param = param;
	}
	//对应数据库中的偏移量
	public long getOffset() {
		return (this.getNum() - 1) * this.getSize();
	}
	@Override
	public String toString() {
		return "PageReq [param=" + param + "，pageInfo="+super.toString()+"]";
	}
}
